//
//  UserData.h
//  DeyiLife
//
//  Created by zxin on 15/7/10.
//  Copyright (c) 2015年 Deyi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserData : NSObject

//search list
+ (NSMutableArray *)searchKeyList;
+ (void)setSearchKeyList:(NSMutableArray *)list;

+ (void)login:(NSDictionary *)dict;
+ (void)logout;
+ (BOOL)isLogin;

+ (NSString *)userid;
+ (NSString *)username;
+ (NSString *)usertoken;
+ (NSString *)userphone;
+ (NSString *)userheadurl;
+ (BOOL)isJoinTribe;

+ (NSString *)easemob_username;
+ (NSString *)easemob_userpass;

+ (void)setUserid:(NSString *)userid;
+ (void)setUsername:(NSString *)username;
+ (void)setUsertoken:(NSString *)usertoken;
+ (void)setUserphone:(NSString *)userphone;
+ (void)setUserheadurl:(NSString *)userheadurl;

+ (void)setMob_username:(NSString *)username;
+ (void)setMob_userpass:(NSString *)userpass;

+ (BOOL)shouldShowLaunchImage;
+ (void)setShouldShowLauchImage:(BOOL)should;
+ (BOOL)launchImageHasDownload;
+ (void)setLauchImageHasDownload:(BOOL)hasDown;
+ (void)setShowLaunchTime:(NSString *)timestamp;
+ (NSString *)showLaunchTime;
+ (void)setAdShowTimeStamp:(NSString *)timestamp;
+ (NSString *)adShowTimeStamp;
+ (NSString *)preVersion;
+ (void)setPreVersion:(NSString *)version;

@end
